from rest_framework import serializers
from myapp.models import Appointment


class AppointmentSerializer(serializers.ModelSerializer):
    class Meta:
        model = Appointment
        fields = ['order_date', 'order_time', 'uid', 'visitor_id', 'status']


